package org.common.utils.generatormapper.window.tools;
import org.common.utils.generatormapper.GeneratorMapperManager;

import javax.swing.*;

public class DialogTool {

    public static void showMessageDialog(String textKey) {
        GeneratorMapperManager manager = GeneratorMapperManager.getInstance();
        JOptionPane.showMessageDialog(manager.getWindow(), manager.getString(textKey), manager.getString("GeneratorEntityWindow.dialog.title"), JOptionPane.ERROR_MESSAGE);
    }
}
